#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
int main()
{
    double Open = 0.0;
    double High = 0.0;
    double Low = 0.0;
    double Close = 0.0;
    int flag = 0;
    scanf("%lf %lf %lf %lf", &Open, &High, &Low, &Close);
    if (Close > Open)
        printf("R-Hollow");
    else if (Close < Open)
        printf("BW-Solid");
    else
        printf("R-Cross");
    if (Low < Open && Low < Close)
    {
        flag = 1;
        printf(" with Lower Shadow");
    }
    if (High > Open && High > Close)
    {
        if (flag == 0)
            printf(" with Upper Shadow");
        else
            printf(" and Upper Shadow");
    }
    return 0;
}